package user

import (
	"ginfwk/framework/core/gins"
)

type ApiUser struct {
	UserInfo
}

func (a *ApiUser) Register(r gins.IRoutes) {
	g := r.Group("/user")
	{
		g.GET("/info", a.UserInfo.GetApiUserInfo)
		g.GET("/infos", a.UserInfo.GetApiUserList)
	}
}
